Ignore certain GtkSettings in defaultvalues unit test
authorKristian Rietveld <kris@gtk.org>
Wed, 30 Sep 2009 11:05:33 +0000 (13:05 +0200)
committerKristian Rietveld <kris@gtk.org>
Wed, 30 Sep 2009 11:05:33 +0000 (13:05 +0200)
Like the other GtkSettings already registered, these are influenced from
the outside and cannot be properly tested.  The defaultvalues test
passes again now.

gtk/tests/defaultvalue.c

index 6a157e42ae9f3b8b8b15f9494f5b9478b5c115e9..6f3f7220812e6d0d073cba98026108a68bf3e9da 100644 (file)
@@ -239,7 +239,10 @@ test_type (gconstpointer data)
           strcmp (pspec->name, "gtk-icon-theme-name") == 0 ||
           strcmp (pspec->name, "gtk-im-module") == 0 ||
           strcmp (pspec->name, "gtk-key-theme-name") == 0 ||
-          strcmp (pspec->name, "gtk-theme-name") == 0))
+          strcmp (pspec->name, "gtk-theme-name") == 0 ||
+           strcmp (pspec->name, "gtk-sound-theme-name") == 0 ||
+           strcmp (pspec->name, "gtk-enable-input-feedback-sounds") == 0 ||
+           strcmp (pspec->name, "gtk-enable-event-sounds") == 0))
         continue;
 
       if (g_type_is_a (type, GTK_TYPE_SPIN_BUTTON) &&